from django.urls import path
from .views import *

urlpatterns = [
    path('', index),
    path('register/', RegisterView.as_view()),
    path('login/', LoginView.as_view()),
    path('logout/', logout),
    path('email/verification/', EmailVerificationView.as_view()),
    path('image/verification/<uuid:uuid>/', ImageVerifyView.as_view()),
    path('detail/', UserDetailView.as_view()),
    path('portrait/upload/', PortraitView.as_view()),
    path('uploads/<path:path>/', get_avatar),
    path('shopping_car/', ShoppingCarView.as_view()),
]
